package com.zhou.bjgl.bjgl.business_web.mapper;

import com.zhou.bjgl.bjgl.business_web.entity.BHoliday;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zhou.bjgl.bjgl.req.b_holiday.BHlidayChartsReq;
import com.zhou.bjgl.bjgl.req.b_holiday.BHolidayQueryReq;
import com.zhou.bjgl.bjgl.resp.BHolidayResp;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author jz
 * @since 2021-07-04
 */
@Mapper
public interface BHolidayMapper extends BaseMapper<BHoliday> {


    /**
     * 查询请假信息列表
     *
     * @param req 请假信息
     * @return List<BHolidayResp> 请假信息列表
     */
    List<BHolidayResp> queryHolidayApply(BHolidayQueryReq req);

    int queryNotCheckForDate(BHlidayChartsReq bHlidayChartsReq);
}
